package cn.lingyangwl.agile.misc.statistic.model.entity;

import cn.lingyangwl.agile.tenant.core.*;
import com.baomidou.mybatisplus.annotation.TableName;
import com.fasterxml.jackson.annotation.JsonFormat;
import lombok.Getter;
import lombok.Setter;
import org.springframework.format.annotation.DateTimeFormat;

import java.time.LocalDate;

/**
 * 统计支付流水
 *
 * @author shenguangyang
 */
@Getter
@Setter
@DataIsolation(tableName = "stat_pay_record", filterTenant = true, filterMainTenant = true)
@TableName(value = "stat_pay_record")
public class StatPayRecord extends StatBasePO {
    /**
     * 统计日期
     */
    @JsonFormat(timezone = "GMT+8",pattern = "yyyy-MM-dd")
    @DateTimeFormat(pattern="yyyy-MM-dd")
    private LocalDate days;
}
